import { Vector as VectorSource } from "ol/source";
import { Vector as VectorLayer } from "ol/layer";
import { Circle as CircleStyle, Fill, Stroke, Style } from "ol/style";

const source = new VectorSource();

export const vector = new VectorLayer({
  source: source,
  style: new Style({
    fill: new Fill({
      color: "rgba(195, 59, 83, 0.2)",
    }),
    stroke: new Stroke({
      color: "#bf3b53",
      width: 2,
    }),
    // image: new CircleStyle({
    //   radius: 7,
    //   fill: new Fill({
    //     color: "#ffcc33",
    //   }),
    // }),
  }),
});
